package com.springboot.service;

import com.springboot.model.AssistantMessageInform;
import com.springboot.model.MessageInform;
import com.springboot.model.UserLoginForm;

import java.util.ArrayList;

/**
 * 本业务用于医生查看通知列表
 */
public interface DoctorViewMessageListService {
    //通过手机号码查找用户
    UserLoginForm findUserByTel(String userTel);

    //通过医生id查找该医生三天内的消息和所有未读的消息
    ArrayList<MessageInform> findMessageListByDoctorId(Integer doctorId);

    //通过用户id查找用户
    UserLoginForm findUserById(Integer userId);

    //通过消息id和助理消息标识查找取消预约的该助理id
    AssistantMessageInform findAssistantByMessage(AssistantMessageInform assistantMessageInform);
}
